package sui.core
{
    import flash.events.Event;

    import sui.plugins.PluginManager;

    public class Component extends SkinnableComponent
    {
        private var mgr:PluginManager = PluginManager.getInstance();

        public function Component(skin:*)
        {
            super(skin)
            construct();
        }

        protected function construct():void
        {
            mgr.sui_internal::onConstruct(this);
        }

        override protected function renderHandler(event:Event):void
        {
            mgr.sui_internal::onRender(this);
        }
    }
}
